package cpu.footprint.bean;

/**
 * Created by Administrator on 2017/3/22.
 */

public class ChatListViewItem {
    /**
     * 类型列表
     */
    public static enum ITEM_TYPE {
        TYPE_LEFT, TYPE_RIGHT, TYPE_CENTER
    }

    ;

    /**
     * 类型
     */
    private ITEM_TYPE mType;
    /**
     * 内容
     */
    private String mContent;
    private String mFrom;
    private Integer mId;
    public ChatListViewItem(ITEM_TYPE tType, String tContent, String from) {
        mType = tType;
        mContent = tContent;
        mFrom = from;
        mId = 0;
    }
    public ChatListViewItem(ITEM_TYPE tType, String tContent, String from, int id) {
        mType = tType;
        mContent = tContent;
        mFrom = from;
        mId = id;
    }

    public String getmContent() {
        return mContent;
    }

    public void setmContent(String mContent) {
        this.mContent = mContent;
    }

    public String getmFrom() {
        return mFrom;
    }

    public void setmFrom(String mFrom) {
        this.mFrom = mFrom;
    }

    public ITEM_TYPE getType() {
        return mType;
    }

    public String getContent() {
        return mContent;
    }

    public void setType(ITEM_TYPE tType) {
        mType = tType;
    }

    public void setContent(String tContent) {
        mContent = tContent;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }
}
